# $Id: PKGBUILD 90046 2013-05-06 19:37:48Z foutrelis $
# Maintainer: Shinlun Hsieh <yngwiexx@yahoo.com.tw>

pkgname=hatari
pkgver=1.6.2
pkgrel=2
pkgdesc='An Atari ST and STE emulator'
arch=('i686' 'x86_64')
url='http://hatari.sourceforge.net/'
license=('GPL')
depends=('sdl' 'libpng')
makedepends=('cmake')
source=("http://download.tuxfamily.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('3957d0c5f8093313c798e565af9a92e1')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr

  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}
